package org.luckyjourney.entity.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AuthenticationDTO implements Serializable {

    //用户id
    private Long userId;
    @ApiModelProperty("证书")
    @NotBlank(message = "证书不能为空")
    private String certificate;
    @NotBlank(message = "身份证正面不能为空")
    private String front;
    @NotBlank(message = "身份证反面不能为空")
    private String reverseSide;

}
